package com.hospital.frontdesk.fronxiang.service.impl;

import com.hospital.frontdesk.fronxiang.dao.UserDepartmentMapper;
import com.hospital.frontdesk.fronxiang.entity.UserDepartment;
import com.hospital.frontdesk.fronxiang.service.UserDepartmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @description：
 * @author：xyj
 * @date：2021/9/17 16:04
 * @versions：v1.0
 */
@Service
public class UserDepartmentServiceImpl implements UserDepartmentService {
    @Autowired
    private UserDepartmentMapper userDepartmentMapper;

    @Override
    public List<UserDepartment> Departmentlist() {
        return userDepartmentMapper.selectList(null);
    }
}
